<?php


namespace app\services\delivery;


use app\models\delivery\DeliveryGroupModel;
use app\services\BaseService;

class DeliveryGroupService extends BaseService
{

    protected static function initModel()
    {
        return new DeliveryGroupModel();
    }

    public static function updateData($groupNo, $data)
    {
        return self::initModel()::update($data, ['group_no' => $groupNo]);
    }
}